/* 控件基本样式文件 */
* {
  list-style-type: none;
  margin: 0;
  padding: 0;
}

body,html{
  width: 100%;
  height: 100%;
}

.mc_frame {
  width: 100%;
  height: 100%;
  margin: 0px;
  padding: 0px;
  background-color: #293955;
}

.mc_frame_title {
  padding: 2px;
  /*width: 100%; for use padding */
  height: 28px;
  line-height: 28px;
  -moz-user-select: none;
  /*火狐*/
  -webkit-user-select: none;
  /*webkit浏览器*/
  -ms-user-select: none;
  /*IE10*/
  -khtml-user-select: none;
  /*早期浏览器*/
  user-select: none;
}

.mc_frame_container {
  position: relative;
}

.mc_btn_sys_nor {
  font-size: 14px;
  cursor: pointer;
  margin: 0px;
  color: #ffffff;
  width: 35px;
  text-align: center;
  /* border: 1px solid #FFFFFF; */
}

div.mc_btn_sys_nor:hover {
  background-color: #596985;
}

.mc_btn_sys_close {
  font-size: 14px;
  cursor: pointer;
  margin: 0px;
  color: #ffffff;
  width: 35px;
  text-align: center;
}

div.mc_btn_sys_close:hover {
  background-color: rgb(243, 110, 110);
}

/* 按钮，使用btn */
.mc_btn {
  display: inline-block;
  border: 1px solid gray;
  border-radius: 5px;
  height: 26px;
  line-height: 26px;
  color: black;
  cursor: pointer;
  text-align: center;
  padding: 0 15px;

  -moz-user-select: none;
  /*火狐*/
  -webkit-user-select: none;
  /*webkit浏览器*/
  -ms-user-select: none;
  /*IE10*/
  -khtml-user-select: none;
  /*早期浏览器*/
  user-select: none;
}

.mc_btn:hover {
  background-color: #fff;
  border: 1px solid #fff;
  box-shadow: 0px 0px 1px 1px #aaa;
}

/*弹出框标题*/
.layui-layer-title {
  border-bottom: 1px solid #b0b0b0 !important;
  font-size: 18px !important;
  font-weight: 600 !important;
  /* Safari 5.1 - 6.0 */
  background: -webkit-linear-gradient(to right, #d0d0d0, #dfdfdf, #ffffff) !important;
  /* Opera 11.6 - 12.0 */
  background: -o-linear-gradient(to right, #d0d0d0, #dfdfdf, #ffffff) !important;
  /* Firefox 3.6 - 15 */
  background: -moz-linear-gradient(to right, #d0d0d0, #dfdfdf, #ffffff) !important;
  /* standard must write at last */
  background: linear-gradient(to right, #d0d0d0, #dfdfdf, #ffffff) !important;
  /*background-color: red;*/
}

.layui-layer,
.layui-layer-iframe,
.layui-layer-content {
  overflow: hidden !important;
}

.layui-layer-btn0,
.layui-layer-btn1,
.layui-layer-btn2,
.layui-layer-btn3,
.layui-layer-btn4,
.layui-layer-btn5,
.layui-layer-btn6,
.layui-layer-btn7,
.layui-layer-btn8,
.layui-layer-btn9 {
  border: 1px solid #909090 !important;
  background-color: transparent !important;
  color: #000000 !important;
}

.layui-layer-btn0:hover,
.layui-layer-btn1:hover,
.layui-layer-btn2:hover,
.layui-layer-btn3:hover,
.layui-layer-btn4:hover,
.layui-layer-btn5:hover,
.layui-layer-btn6:hover,
.layui-layer-btn7:hover,
.layui-layer-btn8:hover,
.layui-layer-btn9:hover {
  border-color: #aaa !important;
  background-color: #ffffff !important;
  box-shadow: 0px 0px 1px 1px #aaa;
}

/* 编辑框，使用label 及 input 可加限制：正整数/整数/十六进制数据/浮点数/文本 */
.mc_edit {
  height: 22px;
  padding: 2px;
  line-height: 22px;
  color: balck;
  font-size: 14px;
  border: 1px solid gray;
  width: 100%;
  border-radius: 4px;
  outline: none;
  /* 文字溢出显示省略号 */
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  background-color: #fff;
  text-align: center;
  width: 100%;
}

/* 禁用 */
.mc_edit_disabled {
  border: 1px solid #ddd;
  color: transparent;
  text-shadow: 0 0 0 gray;
}

/* 下拉列表 */
.mc_opt_select {
  width: 100%;
  height: 26px;
  line-height: 26px;
  box-sizing: border-box;
  display: inline-block;
  position: relative;
  vertical-align: middle;
  font-size: 14px;

  -moz-user-select: none;
  -webkit-user-select: none;
  -ms-user-select: none;
  -khtml-user-select: none;
  user-select: none;
}

.select_text {
  /* height: 26px; */
  height: 100%;
  background-color: #fff;
  border: 1px solid gray;
  border-radius: 4px;
}

.select_txt {
  /* line-height: 26px; */
  padding-left: 8px;
  padding-right: 20px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  text-align: center;
  color: black;
  cursor: text;
  outline: none;

  -moz-user-select: none;
  /*火狐*/
  -webkit-user-select: none;
  /*webkit浏览器*/
  -ms-user-select: none;
  /*IE10*/
  -khtml-user-select: none;
  /*早期浏览器*/
  user-select: none;
}

.select_btn_box {
  /* height: 26px; */
  height: 100%;
  position: absolute;
  top: 1px;
  right: 1px;
  width: 20px;
  cursor: pointer;
}

.select_btn {
  border-color: #888 transparent transparent transparent;
  border-style: solid;
  border-width: 5px 4px 0 4px;
  height: 0;
  left: 50%;
  margin-left: -4px;
  margin-top: -2px;
  position: absolute;
  top: 50%;
  width: 0;
}

.select_option {
  position: absolute;
  top: 29px;
  left: -1px;
  box-sizing: border-box;
  display: inline-block;
  vertical-align: middle;
  width: 100%;
}

.select_list {
  overflow: auto;
  width: 100%;
  position: absolute;
  max-height: 124px;
  background-color: white;
  border: 1px solid #aaa;
  border-radius: 4px;
  border-top: none;
  border-top-left-radius: 0;
  border-top-right-radius: 0;
  box-sizing: border-box;
  z-index: 999;
  display: none;
}

.select_list li {
  padding: 6px;
  cursor: pointer;
  background-color: #fff;
}

/* 之前选中样式 before_select 属性控制*/
.select_list li[before_select="true"] {
  background-color: #ddd;
}

/* .select_list li:hover, */
.select_focus {
  background-color: #5897fb !important;
  color: white;
}

/* 反转按钮 */
.select_btn_rotate {
  transform: rotate(180deg);
}

/* 分类列表 */
.select_classify {
  width: 100%;
  border: 1px solid #aaa;
  overflow: hidden;
  cursor: pointer;
  display: none;
  z-index: 999;
  position: absolute;
  background-color: white;
}

/* 关闭按钮行 */
.sc_heard {
  display: flex;
  flex-direction: row-reverse;
  padding-right: 6px;
  font-size: 20px;
  color: gray;
}

.sc_heard:hover {
  color: #aaa;
}

/* 字母分类行 */
.sc_search_title {
  display: flex;
  font-size: 14px;
  background-color: rgb(196, 214, 240);
}

.sc_search_title li {
  height: 30px;
  line-height: 32px;
  width: 17%;
  text-align: center;
}

/* 选中效果 */
.sc_title_active {
  color: #3b99fc;
  border-bottom: 2px solid #3b99fc;
}

/* 内容部分 */
.sc_search_cont0 {
  display: flex;
}

.sc_cont_left {
  width: 4%;
  text-align: center;
  font-weight: 600;
  color: #3b99fc;
  display: flex;
  flex-direction: column;
}

.sc_cont_left p {
  /* height: 20%; */
  height: 42px;
  padding: 4px 0;
}

.sc_cont_right {
  flex: 1;
}

/* 内容右部 ul  */
.sc_cont_list {
  font-size: 13px;
  /* max-height: 75px; */
  height: 50px;
  display: flex;
  flex-wrap: wrap;
  margin-left: 20px;
}

.sc_cont_list li {
  padding: 4px 0;
  text-align: left;
  overflow: hidden;
  width: 16%;
  color: black;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* 内容及上下页选中效果 */
.sc_cont_list li:hover,
.sc_flip span:hover {
  color: #3b99fc;
}

.sc_flip {
  float: right;
  color: #666;
  font-size: 13px;
  padding: 6px;
  display: none;
}

.sc_flip i {
  font-style: normal;
}

/* 静态文本框 */
.mc_lab {
  color: #000000;
  display: inline-block;
  cursor: default;

  -moz-user-select: none;
  /*火狐*/
  -webkit-user-select: none;
  /*webkit浏览器*/
  -ms-user-select: none;
  /*IE10*/
  -khtml-user-select: none;
  /*早期浏览器*/
  user-select: none;
}

/* 步进编辑框 */
.mc_step_edit_wrap {
  display: inline-flex;
  width: 100%;
  height: 28px;
  border: 1px solid gray;
  border-radius: 4px;
  background-color: #fff;
  box-sizing: border-box;
  padding: 1px;
}

.mc_step_inp,
.mc_step_add,
.mc_step_sub {
  text-align: center;
  border: none;
  display: block;
}

.mc_step_inp {
  width: 100%;
  height: 100%;
  box-sizing: border-box;
  color: black;
  outline: none;
  line-height: 1.6em;

  /* 光标位置 */
  padding-top: 1px;
}

/* 隐藏光标 */
.mc_step_focus {
  color: transparent;
  text-shadow: 0 0 0 black;
}

.mc_step_add,
.mc_step_sub {
  width: 30px;
  line-height: 25px;
  background: #fff;
  color: #888;
  cursor: pointer;
  outline: none;
}

/* 复选框 */
.mc_checkbox_box {
  width: 100%;
  height: 26px;
  /* line-height: 28px; */
  text-align: center;
  color: #ddd;
  background-color: #eee;

  display: flex;
  -webkit-touch-callout: none;
  /* iOS Safari */
  -webkit-user-select: none;
  /* Chrome/Safari/Opera */
  -khtml-user-select: none;
  /* Konqueror */
  -moz-user-select: none;
  /* Firefox */
  -ms-user-select: none;
  /* Internet Explorer/Edge */
  user-select: none;
}

.mc_checkbox_on {
  border: 1px solid gray;
  border-bottom-left-radius: 4px;
  border-top-left-radius: 4px;
  border-right: none;
  height: 100%;
  line-height: 26px;
  cursor: pointer;
}

.mc_checkbox_off {
  border: 1px solid gray;
  border-bottom-right-radius: 4px;
  border-top-right-radius: 4px;
  border-left: none;
  margin: none;
  height: 100%;
  line-height: 26px;
  cursor: pointer;
}

.mc_checkbox_select_btn {
  animation: toggle_animation 0.6s;
  -webkit-animation: toggle_animation 0.6s;
  /* Safari 和 Chrome */
  animation-fill-mode: forwards;
  -webkit-animation-fill-mode: forwards;
}

@keyframes toggle_animation {
  from {
    width: 30%;
    color: #ddd;
    background-color: #eee;
  }

  to {
    width: 70%;
    color: #000;
    background-color: #fff;
    /*box-shadow: 0px 0px 2px 2px #AAA;*/
    background: -webkit-linear-gradient(to right, #eee, #fff, #fff, #fff, #fff, #fff, #fff, #fff, #eee);
    /* Opera 11.6 - 12.0 */
    background: -o-linear-gradient(to right, #eee, #fff, #fff, #fff, #fff, #fff, #fff, #fff, #eee);
    /* Firefox 3.6 - 15 */
    background: -moz-linear-gradient(to right, #eee, #fff, #fff, #fff, #fff, #fff, #fff, #fff, #eee);
    /* standard must write at last */
    background: linear-gradient(to right, #eee, #fff, #fff, #fff, #fff, #fff, #fff, #fff, #eee);
  }
}

@-webkit-keyframes toggle_animation

/*Safari and Chrome*/
  {
  from {
    width: 30%;
    color: #ddd;
    background-color: #eee;
  }

  to {
    width: 70%;
    color: #000;
    background-color: #fff;
    /*box-shadow: 0px 0px 2px 2px #AAA;*/
    background: -webkit-linear-gradient(to right, #eee, #fff, #fff, #fff, #fff, #fff, #fff, #fff, #eee);
    /* Opera 11.6 - 12.0 */
    background: -o-linear-gradient(to right, #eee, #fff, #fff, #fff, #fff, #fff, #fff, #fff, #eee);
    /* Firefox 3.6 - 15 */
    background: -moz-linear-gradient(to right, #eee, #fff, #fff, #fff, #fff, #fff, #fff, #fff, #eee);
    /* standard must write at last */
    background: linear-gradient(to right, #eee, #fff, #fff, #fff, #fff, #fff, #fff, #fff, #eee);
  }
}

.checkbox_flex_box_auto_size {
  -webkit-box-flex: 1;
  -webkit-flex: 1 1 auto;
  -moz-box-flex: 1;
  -ms-flex: 1 1 auto;
  flex: 1 1 auto;
}

/* 滑动条 */
/* 滑块 */
.mc_slider_thumb {
  border-radius: 3px;
  margin-top: -18px;
  border: 1px solid #909090;
  background: #ffffff;
  position: absolute;
  z-index: 2;
  text-align: center;
  cursor: pointer;
  font-size: 12px;
  width: 34px;
  height: 26px;
  line-height: 26px;
  color: black;
}

.mc_slider_thumb_nuselect {
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
}

.mc_slider_thumb_uselect {
  -webkit-user-select: block;
  -moz-user-select: block;
  -ms-user-select: block;
  user-select: block;
}

.mc_slider_thumb_keycode {
  color: transparent;
  text-shadow: 0 0 0 black;
  box-shadow: 0 0 6px dodgerblue;
  padding: 0px;
}

.mc_slider_thumb {
  top: 66%;

  /* 禁止内容换行 */
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

/* 轨道 */
.mc_slider {
  width: 100%;
  display: inline-block;
  position: relative;
  border-radius: 3px;
  height: 22px;
  border: 1px solid #909090;
  margin-right: 0;
}

.mc_slider_min,
.mc_slider_max {
  position: absolute;
  top: 3px;
  font-size: 12px;

  /* 禁止选中 */
  -moz-user-select: none;
  /*火狐*/
  -webkit-user-select: none;
  /*webkit浏览器*/
  -ms-user-select: none;
  /*IE10*/
  -khtml-user-select: none;
  /*早期浏览器*/
  user-select: none;
}

.mc_slider_min {
  left: 0px;
}

.mc_slider_max {
  right: 0px;
}

/* 单选按钮组 */
.mc_radio_btn {
  display: flex;
  width: 100%;
  height: 28px;
  line-height: 28px;
  font-size: 14px;
}

.mc_radio_item {
  border: 1px solid gray;
  text-align: center;
  cursor: pointer;
  box-sizing: border-box;

  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;

  -moz-user-select: none;
  /*火狐*/
  -webkit-user-select: none;
  /*webkit浏览器*/
  -ms-user-select: none;
  /*IE10*/
  -khtml-user-select: none;
  /*早期浏览器*/
  user-select: none;
}

.mc_radio_item:not(:last-child) {
  border-right: transparent;
}

.mc_radio_item:first-child {
  border-top-left-radius: 4px;
  border-bottom-left-radius: 4px;
}

.mc_radio_item:last-child {
  border-top-right-radius: 4px;
  border-bottom-right-radius: 4px;
}

/* 选中 */
.mc_radio_select {
  border: transparent;
  background-color: #fff;
  box-shadow: 0px 0px 2px 2px #aaa;
}

/* 选择语言开关 */
.select_lan {
  width: 100%;
  height: 28px;
  line-height: 28px;
  color: #121212;
  cursor: pointer;
  font-size: 14px;
  position: relative;
  outline: none;
}

.select_lan:hover {
  background-color: #596985;
}

.select_lan span {
  padding-left: 10px;
  padding-right: 24px;
  height: 28px;
  display: inline-block;
}

.select_lan_edge {
  position: absolute;
  right: 8px;
  top: 44%;
  border: 5px solid transparent;
  border-top-color: #e5e5e5;
}

.edge_rotate {
  -webkit-transform: rotate(180deg);
  transform: rotate(180deg);
  top: 17%;
}

.select_lan_content {
  width: 100%;
  border: 1px solid #e5e5e5;
  background-color: #f0f0f0;
  border-top: none;
  max-height: 300px;
  overflow-y: auto;
  border-radius: 2px;
  box-sizing: border-box;
  text-align: center;
  display: none;
}

.select_lan_content li {
  line-height: 28px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  width: 100%;
  border-bottom: 1px solid #e5e5e5;
  transition: all 0.5s ease 0s;
  cursor: pointer;
}

.select_lan_content li:last-child {
  border: none;
}

.select_lan_content li:hover {
  background-color: #67bfe7;
}

.select_now_item {
  background-color: #ccc;
}

/* 加载中 */
.mc_loading {
  width: 150px;
  text-align: center;
}

.mc_loading>div {
  width: 26px;
  height: 26px;
  background-color: dodgerblue;
  box-shadow: 0 0 6px rgb(128, 169, 209);

  border-radius: 100%;
  display: inline-block;
  -webkit-animation: bouncedelay 1.4s infinite ease-in-out;
  animation: bouncedelay 1.4s infinite ease-in-out;
  /* Prevent first frame from flickering when animation starts */
  -webkit-animation-fill-mode: both;
  animation-fill-mode: both;
}

.mc_loading .bounce1 {
  -webkit-animation-delay: -0.32s;
  animation-delay: -0.32s;
}

.mc_loading .bounce2 {
  -webkit-animation-delay: -0.16s;
  animation-delay: -0.16s;
}

@keyframes bouncedelay {

  0%,
  80%,
  100% {
    transform: scale(0);
    -webkit-transform: scale(0);
  }

  40% {
    transform: scale(1);
    -webkit-transform: scale(1);
  }
}

@-webkit-keyframes bouncedelay {

  0%,
  80%,
  100% {
    -webkit-transform: scale(0);
  }

  40% {
    -webkit-transform: scale(1);
  }
}

@-moz-keyframes bouncedelay {

  0%,
  80%,
  100% {
    transform: scale(0);
    -webkit-transform: scale(0);
  }

  40% {
    transform: scale(1);
    -webkit-transform: scale(1);
  }
}

@-o-keyframes bouncedelay {

  0%,
  80%,
  100% {
    transform: scale(0);
    -webkit-transform: scale(0);
  }

  40% {
    transform: scale(1);
    -webkit-transform: scale(1);
  }
}

.mc_loading_text {
  text-align: center;
  color: black;
  margin-top: 10px;
  font-size: 16px;
  font-weight: 600;
}

.mc_loading_box {
  display: flex;
  flex-direction: column;
  align-items: center;
  /* margin: 0 auto;
    top: 50%;
    position: relative;
    transform: translateY(-50%);
    z-index: 10; */
  position: fixed;
  top: 50%;
  left: 0;
  right: 0;
  transform: translateY(-50%);
}

.mc_loading_cover {
  position: absolute;
  left: 0px;
  top: 0px;
  background: rgba(0, 0, 0, 0.4);
  width: 100%;
  height: 100%;
  filter: alpha(opacity=60);
  opacity: 0.6;
  z-index: 9;
}

/* 表格 */
.mc_table_box {
  height: 100%;

  display: flex;
  flex-direction: column;
}

.mc_table_header {
  /* 默认滚动条宽度 */
  /* padding-right: 17px; */

  border: 1px solid #ddd;
  display: flex;
  height: 38px;
  line-height: 38px;
  cursor: default;
  /* border-bottom: none; */
}

.mc_table_header div {
  /* height: 100%; */
  text-align: center;

  /* border-right: 1px solid #ddd; */
}

.mc_table_body {
  overflow-y: auto;
  border-bottom: 1px solid #ddd;
  flex: 1;
}

.mc_table_body .table_row {
  display: flex;
  list-style: none;
  border: 1px solid #ddd;
  /* border-top: none; */
  text-align: center;
  cursor: default;

  height: 38px;
  line-height: 38px;
}

.mc_table_body .table_row li {
  border-right: 1px solid #ddd;
  outline: none;
  box-sizing: border-box;

  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.mc_table_body .table_row li:last-child {
  border-right: transparent;
}

.mc_table_body .table_row:nth-child(odd) {
  background-color: #f0f0f0;
}

.mc_table_body .table_row:nth-child(even) {
  background-color: #fff;
}

.mc_table_body .table_row:hover {
  background-color: #f0f0f0;
}

.mc_table_select_li {
  border: 1px solid #fff;
  box-shadow: 0 0 6px rgb(128, 169, 209);
}

/* tab选项卡 */
.mc_tab {
  display: flex;
  border-bottom: 2px solid #c0c0c0;
}

.mc_tab div {
  padding: 3px 8px;
  margin: 0 10px -2px 0;
  font-size: 14px;
  color: #293241;
  border: 2px solid #e6e5e1;
  border-bottom-color: transparent;
  border-radius: 5px 5px 0 0;
  position: relative;
  transition: all 0.3s ease 0s;
  cursor: pointer;
  background: linear-gradient(to bottom, #d0d0d0, #dfdfdf, #f0f0f0);

  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.mc_tab div:hover,
.mc_tab div.select_tab {
  background: #fff;
  border: 2px solid #c0c0c0;
  border-bottom-color: transparent;
}

.mc_tab div:before {
  content: "";
  display: block;
  height: 2px;
  background: #fff;
  position: absolute;
  bottom: -3px;
  left: 0;
  right: 0;
  transform: scaleX(0);
  transition: all 0.3s ease-in-out 0s;
}

.mc_tab div.select_tab:before,
.mc_tab div:hover:before {
  transform: scaleX(1);
}

@media only screen and (max-width: 479px) {
  .mc_tab {
    border: none;
  }

  .mc_tab div {
    width: 100%;
    text-align: center;
    margin: 0;
    border-bottom: 2px solid transparent;
  }

  .mc_tab div:before {
    content: "";
    width: 100%;
    height: 2px;
    background: gray;
    position: absolute;
    bottom: -2px;
    left: 0;
  }
}

.table_flex_box_auto_size {
  -webkit-box-flex: 1;
  -webkit-flex: 1 1 auto;
  -moz-box-flex: 1;
  -ms-flex: 1 1 auto;
  flex: 1 1 auto;
  /* flex-grow: 1; */

  width: 100%;
  height: 100%;
}